import type { Model } from '~/api/base/base-model.ts'

export interface DeptReq {
  id?: string
  systemId?: string
  parentId?: string
  deptName?: string
  deptNameByLike?: string
  deptCode?: string
  note?: string
  sort?: number
}

export interface DeptResp extends Model {
  id?: string
  systemId?: string
  parentId?: string
  deptName?: string
  deptCode?: string
  note?: string
  sort?: number
  children?: DeptResp[]
}
